package com.module.admin.Warpper;

import com.module.common.BaseControllerWarpper;
import com.module.common.factory.ConstantFactory;
import org.apache.ibatis.reflection.wrapper.BaseWrapper;

import java.util.List;
import java.util.Map;

public class PayTypeWarpper extends BaseControllerWarpper {
    public PayTypeWarpper(List<Map<String, Object>> list) {
        super(list);
    }

    @Override
    public void warpTheMap(Map<String, Object> map) {
        map.put("orderPayType", ConstantFactory.me().getOrderStatus((Integer) map.get("pay_Type")));
    }
}
